import {http} from '@/utils/http'

enum Api {
    updateAppVersion = '/app-version/update',
    getAppVersionList = '/app-version/page',
    getAppVersion = '/app-version/get/',
    deleteAppVersion = '/app-version/delete/',
    addAppVersion = '/app-version/add',
}

/** APP版本信息*/
// APP版本信息分页列表
export function getAppVersionList(data:any) {
    return http.post<any>(Api.getAppVersionList, data)
}
// 添加APP版本信息
export function addAppVersion(data:any) {
    return http.post<any>(Api.addAppVersion,data)
}
// APP版本信息详情
export function getAppVersion(id:string|number) {
    return http.post<any>(Api.getAppVersion+id)
}
// 修改APP版本信息
export function updateAppVersion(data:any) {
    return http.post<any>(Api.updateAppVersion,data)
}
// 删除APP版本信息
export function deleteAppVersion(id:string|number) {
    return http.post<any>(Api.deleteAppVersion+id)
}














